
using Ke.Bee.Transcription.Hubs;
using Ke.Bee.Transcription.Models;
using Microsoft.AspNetCore.SignalR;

namespace Ke.Bee.Transcription.Abstractions;

/// <summary>
/// 语音转文字服务接口
/// </summary>
public interface ITranscriptionService
{
    Task<string> ProcessFileAsync(TranscriptionRequest request,
        IHubContext<TranscriptionHub> hubContext,
        CancellationToken ct = default)
        ;
    /*
    int GetTaskProgress(string taskId);
    TranscriptionResult? GetTranscriptionResult(string taskId);
    List<TranscriptionTaskInfo> GetAllTasks();
    bool RemoveTask(string taskId);
    */
}